package net.sxjr.protal.igperformancepay;

import net.sxjr.common.Response;
import net.sxjr.protal.igperformancepay.params.IgWangeManageParams;
import net.sxjr.protal.igperformancepay.service.IgWangeManageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @author ：cuixc
 * @date ：Created in 2020/12/14 10:13
 * @description：绩效薪酬管理
 * @modified By：
 */
@RestController
@RequestMapping("/igwangemanage")
public class IgWangeManageController {
    @Autowired
    private IgWangeManageService wangeManageService;
    @PostMapping("/up")
    public Response wangeManageAdd(@RequestBody IgWangeManageParams params){
        return wangeManageService.wangeManageAdd(params);
    }

    @GetMapping("/list")
    public Response list(){
        return wangeManageService.list();
    }
}
